package com.example.springboot.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.github.classgraph.json.Id;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author：伐柯梦姝
 * @Package：com.example.springboot.domain.po
 * @Project：springboot
 * @name：News
 * @Date：2025/2/8 21:17
 * @Filename：News
 * @for:
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("news")
public class News {
       @Id
       @TableField("id")
       private Integer id;
       @TableField("title")
       private String title;//标题
       @TableField("content")
       private String content;//详情
       @TableField("time")
       private String time;//发布时间
       @TableField("img")
       private String img;//封面图

}
